FROM php:7.4-fpm-alpine
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
RUN apk update & apk upgrade
#RUN apk add m4 make autoconf gcc g++ linux-headers pcre
#RUN pecl install redis
#RUN docker-php-ext-enable redis

#nginx
apk add nginx

COPY . /apps/site2